package net.xiangcaowuyu.dubboprovider.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import net.xiangcaowuyu.dubbo.common.service.RpcUserService;
import net.xiangcaowuyu.dubboprovider.service.GoodService;
import org.springframework.stereotype.Service;

/**
 * 博客：https://www.xiangcaowuyu.net
 * Description:
 *
 * @Author: 香草物语
 * DateTime: 2021-07-19 19:56
 */
@Service
public class GoodServiceImpl implements GoodService {

    @Reference
    private RpcUserService rpcUserService;

    @Override
    public boolean checkUserLogin(String userName) {
        return rpcUserService.checkUserLogin(userName);
    }

}
